package com.songxh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songxh.dto.DishDto;
import com.songxh.pojo.Dish;

/**
 * @author songxh
 * @create 2022-04-24-19:22
 */
public interface DishService extends IService<Dish> {

    //添加菜品并添加菜品口味
    public void saveWithFlavor(DishDto dishDto);

    //根据id来查询菜品信息和口味信息
    public DishDto getByIdWithFlavor(long id);

    //更新
    public void updateWithFlavor(DishDto dishDto);
}
